package com.sh.gulimall.member.fegin;

import com.sh.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author Mr.suho
 * @Date 2021/11/6 8:30
 * @Description CouponFeginService
 * @Version 1.0
 */
/*
* 这是一个声明式的远程调用
* */
@FeignClient("gulimall-coupon") //开启远程服务，要调用哪个服务
public interface CouponFeginService {
    @RequestMapping("/coupon/coupon/member/list")
    public R membercoupons();
}
